<div data-am-widget="slider" class="am-slider am-slider-a1 banner" style="margin-top:1rem;">
    <ul class="am-slides mybanner">
		<volist name="ad_list" id="ad">
        <li><a href="{$ad.url}"><img src="{:attach($ad['content'],'banner')}" /></a></li>                          
        </volist>       
    </ul>
</div>